package entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class User {
	private String username;
	private String passwd;
	private List<Course> courseList;
	@Override
	public String toString() {
		return "User [username=" + username + ", passwd=" + passwd + ", courseList=" + courseList + "]";
	}
	public User(String username,String passwd){
		super();
		this.username = username;
		this.passwd = passwd;
		courseList = new ArrayList<Course>();
	}
	public User(){
	}
	public String getUsername(){
		return username;
	}
	public void setUsername(String username){
		this.username = username;
	}
	public String getPasswd(){
		return passwd;
	}
	public void setPasswd(String passwd){
		this.passwd = passwd;
	}
	public List<Course> getCourseList() {
		return courseList;
	}
	public void setCourseList(List<Course> courseList) {
		this.courseList = courseList;
	}
}
